package com.example.service;

import com.example.pojo.PageBean;
import com.example.pojo.Payment;

import java.time.LocalDate;
import java.util.List;

public interface PayService {

    PageBean page(Integer page, Integer pageSize, String customername, String paymentstatus, String productName, String status, LocalDate begin, LocalDate end, LocalDate begin1, LocalDate end1);

    void add(Payment payment);

    void delete(int[] id);

    String check(Payment payment);

    void chu(Payment payment);

    List<Payment> getAll();

    PageBean page1(Integer page, Integer pageSize, String customername, String paymentstatus, String productName, String status, LocalDate begin, LocalDate end, LocalDate begin1, LocalDate end1);

    PageBean page2(Integer page, Integer pageSize, String customername, String paymentstatus, String productName, String status, LocalDate begin, LocalDate end, LocalDate begin1, LocalDate end1);

    PageBean page2s(Integer page, Integer pageSize, LocalDate date);
}
